@font-face {
  font-family: "ALIFont";
  src: url("../font/AlimamaDongFangDaKai-Regular.woff") format("woff"),
  url("../font/AlimamaDongFangDaKai-Regular.woff2") format("woff2");
  font-display: swap;
}
body{
  font-family: ALIFont;
  font-weight: bolder;
  font-size: 1em;
  --main-color: rgb(255, 164, 0);
  --color-bg-1: #232324;
  --color-bg-2: #232324;
  --color-bg-3: #2a2a2b;
  --color-bg-4: #313132;
  --color-bg-5: #373739;
  --color-text-1: rgba(255, 255, 255, 0.9);
  --color-text-2: rgba(255, 255, 255, 0.7);
  --color-text-3: rgba(255, 255, 255, 0.5);
  --color-text-4: rgba(255, 255, 255, 0.3);
  background-color: var(--color-bg-1);
  color: var(--color-text-1);
  color-scheme: dark; // 这个属性设置后，滚动条也能表现为暗色模式
}
/* 设置浏览器滚动条的样式 */
::-webkit-scrollbar {
  width: 2px;
  height: 7px;
}
/* 滚动槽 */
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #fa7ff8;
  -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
  background: #fa7ff8;
}
// 文本超出则展示。。。
.textellipsis{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mousecursor{
  cursor: pointer;
}
